<template>
	<view>
		<view class="smart-panel-head">
			<view class="smart-panel-head-title">navigator，链接</view>
		</view>
		<view class="smart-padding-wrap">
			<navigator url="/newpage/newpage" hover-class="navigator-hover">
				<button type="default">跳转新页面</button>
			</navigator>
			<navigator url="/newpage/newpage?title=redirect" open-type="redirect" hover-class="other-navigator-hover">
				<button type="default">在新页面打开</button>
			</navigator>
			<navigator url="/pages/tabBar/tabcompage/tabcompage" open-type="switchTab" hover-class="other-navigator-hover">
				<button type="default">跳转tab页面</button>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad(options){
			console.log("navigator页面加载");
		},
		onShow(){
			console.log("-----onShow");
		},
		onReady(){
			console.log("----onReady");
		},
		onHide(){
			
		},
		onUnload(){
			
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
